How To Emulate A Do-While Loop